pull: Ensure queued filemeta requests don't starve everything else
authorColin Walters <walters@verbum.org>
Thu, 4 Oct 2012 22:23:18 +0000 (18:23 -0400)
committerColin Walters <walters@verbum.org>
Thu, 4 Oct 2012 22:23:18 +0000 (18:23 -0400)
commitf1b4db15a2c078b107797ecd25477aafa45f5dc8
tree851dc27704b018d90166d4425040b90f1a81a0b9
parent4e51701bea3458bac654e89c3f2c1b5702e3db7e
pull: Ensure queued filemeta requests don't starve everything else

We need this hack for "archive mode" repositories; otherwise,
what ends up happening is that we get 10000+ requests pending
for .filemeta files, which we can't process until we also get
the .filecontent.

Note this hack is unneccessary when fetching from archive-z
repositories.
src/ostree/ostree-pull.c